From f1012b5623ccb1ff0b2f4592d584b3566f220643 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Feb 2019 16:13:58 -0500 Subject: [PATCH] Fix the search bar example More GtkSearchBar entry -> editable fixups. --- examples/search-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/search-bar.c b/examples/search-bar.c index cb84e9ce06..0a42a925ce 100644 --- a/examples/search-bar.c +++ b/examples/search-bar.c @@ -28,7 +28,7 @@ activate_cb (GtkApplication *app, menu_button = gtk_menu_button_new (); gtk_container_add (GTK_CONTAINER (box), menu_button); - gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_ENTRY (entry)); + gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_EDITABLE (entry)); gtk_search_bar_set_key_capture_widget (GTK_SEARCH_BAR (search_bar), window); } -- 2.30.2